compile_server:compile_server.cc  ../message_queue/third/include/muduo/protobuf/codec.cc ../message_queue/src/mqcommon/mq_proto.pb.cc ../message_queue/src/mqcommon/mq_msg.pb.cc
	g++ -o $@ $^ -std=c++17 -lpthread -lctemplate -ljsoncpp -lredis++  -lmysqlclient -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz -I../message_queue/third/include/ -L../message_queue/third/lib/ -L/usr/lib64/mysql/
	
.PHONY:clean
clean:
	rm -rf compile_server